package com.cian.entity;

import java.time.LocalDate;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 销售记录的历史表项
 * </p>
 *
 * @author Cian
 * @since 2021-03-16
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @ApiModel(value="History对象", description="销售记录的历史表项")
public class History implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty(value = "账户名")
        private String account;

      @ApiModelProperty(value = "子系统的识别码")
      private String serveCode;

      @ApiModelProperty(value = "商品id")
      private Integer coId;

      @ApiModelProperty(value = "商品销售的日期")
      private LocalDate createTime;

      @ApiModelProperty(value = "商品的销售量")
      private Integer coStock;

      @ApiModelProperty(value = "商品的销售总额")
      private Double coPrice;

      @ApiModelProperty(value = "商品的进货量")
      private Integer coInput;

      @ApiModelProperty(value = "商品的余量")
      private Integer coSurplus;


}
